package cn.kgc.crowdfundingadmin.service;

import cn.kgc.crowdfundingadmin.pojo.Role;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author niejianhang
 * @create 2020-02-25 15:53
 */
public interface RoleService {

    public PageInfo<Role> queryForKeywordWithPage(
            Integer pageNum,
            Integer pageSize,
            String keyword);
    public List<Role> getRoleListByIdList(List<Integer> roleIdList);

    public void batchRemove(List<Integer> roleIdList);

    public void saveRole(String roleName);

    public void updateRole(Role role);

}
